package com.appkubes.mall.restful.application.system.ad.dao;

import com.appkubes.mall.core.dao.BaseMallAdDao;
import com.appkubes.mall.core.entity.MallAd;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository

public interface AdDao extends BaseMallAdDao {

    @Select({"SELECT * FROM mall_ad  where ${queryStr}"})
    List<MallAd> getList(@Param("queryStr") String queryStr);

}
